package gui;

import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import java.awt.Font;
import java.awt.Insets;

public class VPerfil extends JPanel {

	/**
	 * Create the panel.
	 */
	public VPerfil() {
		setBorder(new LineBorder(new Color(0, 0, 0)));
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{0, 0, 0, 0};
		gridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 0, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 1.0, Double.MIN_VALUE};
		setLayout(gridBagLayout);
		
		JLabel lblPerfilDeUsuario = new JLabel("PERFIL DE USUARIO");
		lblPerfilDeUsuario.setFont(new Font("Tahoma", Font.BOLD, 18));
		GridBagConstraints gbc_lblPerfilDeUsuario = new GridBagConstraints();
		gbc_lblPerfilDeUsuario.insets = new Insets(0, 0, 5, 5);
		gbc_lblPerfilDeUsuario.gridx = 0;
		gbc_lblPerfilDeUsuario.gridy = 0;
		add(lblPerfilDeUsuario, gbc_lblPerfilDeUsuario);
		
		JLabel lblltimaConexinHoy = new JLabel("\u00DAltima conexi\u00F3n: Hoy, 14:00");
		GridBagConstraints gbc_lblltimaConexinHoy = new GridBagConstraints();
		gbc_lblltimaConexinHoy.insets = new Insets(0, 0, 5, 5);
		gbc_lblltimaConexinHoy.anchor = GridBagConstraints.WEST;
		gbc_lblltimaConexinHoy.gridx = 0;
		gbc_lblltimaConexinHoy.gridy = 1;
		add(lblltimaConexinHoy, gbc_lblltimaConexinHoy);
		
		VnVideosSubidos vnVideosSubidos = new VnVideosSubidos();
		GridBagConstraints gbc_vnVideosSubidos = new GridBagConstraints();
		gbc_vnVideosSubidos.insets = new Insets(0, 0, 0, 5);
		gbc_vnVideosSubidos.fill = GridBagConstraints.BOTH;
		gbc_vnVideosSubidos.gridx = 0;
		gbc_vnVideosSubidos.gridy = 4;
		add(vnVideosSubidos, gbc_vnVideosSubidos);
		
		VListasCreadas listasCreadas = new VListasCreadas();
		GridBagConstraints gbc_listasCreadas = new GridBagConstraints();
		gbc_listasCreadas.insets = new Insets(0, 0, 0, 5);
		gbc_listasCreadas.fill = GridBagConstraints.BOTH;
		gbc_listasCreadas.gridx = 1;
		gbc_listasCreadas.gridy = 4;
		add(listasCreadas, gbc_listasCreadas);
		
		VFavoritos favoritos = new VFavoritos();
		GridBagConstraints gbc_favoritos = new GridBagConstraints();
		gbc_favoritos.fill = GridBagConstraints.BOTH;
		gbc_favoritos.gridx = 2;
		gbc_favoritos.gridy = 4;
		add(favoritos, gbc_favoritos);

	}
}
